home *** CD-ROM | disk | FTP | other *** search
- Path: galaxy.ucr.edu!not-for-mail
- From: thp@cs.ucr.edu (Tom Payne)
- Newsgroups: comp.lang.c++
- Subject: Re: Will JAVA kill C++?
- Date: 20 Mar 1996 21:57:35 GMT
- Organization: University of California, Riverside
- Message-ID: <4ipv0f$qvd@galaxy.ucr.edu>
- References: <313E44EA.14D110C0@netcom.com> <4hp18v$3di@frodo.smartlink.net> <4hq2j6$q93@galaxy.ucr.edu> <4ie2m7$5re@hn.ocbbs.gen.nz>
- NNTP-Posting-Host: corvette.ucr.edu
- X-Newsreader: TIN [UNIX 1.3 950824BETA PL0]
-
- Steve Detoni (steve@hn.ocbbs.gen.nz) wrote:
- : Tom Payne wrote:
- : : When one is interested in speed, one should avoid pointers (as
- : : does. Fortran), since pointers kill opportunities for optimization.
- : How can you say that .... Would you rather pass a large structures entire
- : contents, or say just a 4 byte address pointer, now which would be faster?
- : Or would you be so un-modula as to have such things as global variables.
- [...]
-
- Pointerless languages typically pass parameters by reference, or at least
- make provision for it.
-
- Tom Payne (thp@cs.ucr.edu)
-